package com.bibi.hanshunping.chapter06;

import java.util.Scanner;

public class Array02 {
    public static void main(String[] args) {
        double[] grades = new double[5];
        Scanner myScanner = new Scanner(System.in);
        for (int i = 0; i < grades.length; i++) {
            grades[i] = myScanner.nextDouble();
        }
        System.out.println("输入完毕");
        for (double grade:
             grades) {
            System.out.println(grade);
        }
    }
}
